package lib

import (
	"log"

	"k8s.io/client-go/kubernetes"
	"k8s.io/client-go/tools/clientcmd"
)

var K8sClient *kubernetes.Clientset

func init() {
	c, err := clientcmd.BuildConfigFromFlags("", "C:/Users/Meng/.kube/config")
	if err != nil {
		log.Fatal(err)
	}
	K8sClient, _ = kubernetes.NewForConfig(c)
}
